public class ShowNearBranchesController {
	public String CompanyLat{set;get;}
	public String CompanyLong{set;get;}
	public String CompanyId{set;get;}

	
	
	public ShowNearBranchesController(ApexPages.StandardController controller){
		companyId = ApexPages.currentPage().getParameters().get('Id');
		Company__c company = [Select Latitude__c, Longitude__c from Company__c where Id=: companyId];
		companyLat = company.Latitude__c;
		companyLong = company.Longitude__c;
		
		 
	}
}